import request from "@/utils/request"
export function getCart(){
    return request.post("/p/shopCart/info",{})
}
export function gettotalPay(payload){
    return request.post("/p/shopCart/totalPay",payload)
}
export function getProdCount(){
    return request.get('/p/shopCart/prodCount')
}
export function getChageItem(payload){
   return request.post('/p/shopCart/changeItem',payload)
}
export function getdeleteItem(payload){
//   let arr=JSON.parse(JSON.stringify(payload)) 

   console.log(payload,"删除请求")
  return request.delete('/p/shopCart/deleteItem',payload)
}